package com.yhty.model;

/**
 * 每月欠费模型
 * @author RoySong
 * 2011-3-30-下午01:38:46
 */
public class Owe {

	private Long id;//主键ID
	private Long rent_id;//出租关系ID
	private Float all;//本月欠费总金额 0-无欠费 >0 有欠费 <0 有预交
	private Pay owe;//本月欠费详情
	private Float owe_last;//上月欠费金额
	private Float delay;//本月应交滞纳金
	private String create_date;//日期
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Float getAll() {
		if(all == null)
			return new Float(0);
		return all;
	}
	public void setAll(Float all) {
		this.all = all;
	}

	public Long getRent_id() {
		return rent_id;
	}
	public void setRent_id(Long rentId) {
		rent_id = rentId;
	}
	public Pay getOwe() {
		return owe;
	}
	public void setOwe(Pay owe) {
		this.owe = owe;
	}
	public Float getDelay() {
		if(delay == null)
			return new Float(0);
		return delay;
	}
	public void setDelay(Float delay) {
		this.delay = delay;
	}
	public String getCreate_date() {
		return create_date;
	}
	public void setCreate_date(String createDate) {
		create_date = createDate;
	}
	public Float getOwe_last() {
		if(owe_last == null)
			return new Float(0);
		return owe_last;
	}
	public void setOwe_last(Float oweLast) {
		owe_last = oweLast;
	}
	
}
